﻿<?xml version="1.0" encoding="GB2312"?>
<Body Name="SO2分析仪" ModifyTime="2012-12-01 10:10:00">
	<Hardware>
		<Net1>192.168.0.123:1234</Net1>
		<COM1>9600,8,N,1</COM1>
		<COM2>9600,8,N,1</COM2>
		<COM3>9600,8,N,1</COM3>
		<COM4>9600,8,N,1</COM4>
		<ADCARD>0x300</ADCARD>
		<CNTCARD>0x200</CNTCARD>
	</Hardware>
	<Software>
		<DataCollect>
			<!-- <Protocol Name="Modbus" Path="\HardDisk\DC_modbus.dll" Status="checked"> -->	
			<!-- <Protocol Name="Modbus" Path="D:\MyProjects\EA Project\CEP\src\debug\ModbusRTU.dll" Status="checked"> 	 -->  
			<Protocol Name="Modbus" Path="\硬盘\cep\ModbusRTU.dll" Status="checked"> 		  	
			</Protocol>
		</DataCollect>
		<DataConversion/>
		<DataSave>
			<Protocol Status="False" Name="AveragePer" Path="\Drivers\DS_Average.dll" Status="checked">
				<BeginTime>12:04</BeginTime>
				<Interval>1</Interval>
			</Protocol>
			<Protocol Status="False" Name="COD" Path="\硬盘\cep\CODDataSaveLogic.dll">
				<Para>10</Para>
				<Para>1</Para>
			</Protocol>
			<Protocol Status="checked" Name="NH3N" Path="\硬盘\cep\NH3NDataSaveLogic.dll">
				<Para>0.1</Para>
				<Para>0.1</Para>
			</Protocol>
		</DataSave>
		<UI/>
		<DataTrans>
			<!-- <Protocol Name="TransModbus" Path="\硬盘\cep\Trans_Modbus.dll" Status="checked">
				<Port>Com4</Port>
			</Protocol>
			 -->
			 <Protocol Name="TransModbusRTU" Path="\硬盘\cep\DataTransModbusRTU.dll" Status="checked">
				<Port>4</Port>
			</Protocol>
			<Protocol Name="TransModbusTCP" Path="\硬盘\cep\Trans_ModbusTCP.dll" Status="False">
				<Addr>192.168.0.123:1234</Addr>
			</Protocol>
		    <Protocol Name="TransHJT212" Path="\硬盘\cep\Trans_HJT212.dll" Status="False">
				<Addr>192.168.0.123:1234</Addr>
			</Protocol>
		</DataTrans>
		<CTRL>				
			<!-- <Protocol Name="CtrlNH3N" Path="D:\MyProjects\EA Project\CEP\src\debug\CtrlNH3N.dll" Status="checked">  -->
			<Protocol Name="CtrlNH3N" Path="\硬盘\cep\CtrlNH3N.dll" Status="False"> 
			</Protocol>
			<Protocol Name="PM25Plugin" Path="\硬盘\cep\PM25Plugin.dll" Status="checked">
			</Protocol>
		</CTRL>
		<SEQ>
			<Sequence Name="PlatUpload" Path="\硬盘\cep\PlatUpload.txt" 	BeginTime="" Interval=""/>
			<Sequence Name="ZDJGo" Path="\硬盘\cep\ZDJGo.txt" 	BeginTime="" Interval=""/>
			<Sequence Name="PlatDown" Path="\硬盘\cep\PlatDown.txt" 	BeginTime="" Interval=""/>
			<Sequence Name="CleanStateCount" Path="\硬盘\cep\CleanStateCount.txt" 	BeginTime="" Interval=""/>
			<Sequence Name="CQBBegain" Path="\硬盘\cep\CQBBegain.txt" 	BeginTime="" Interval=""/>
			<Sequence Name="BlackStateCount" Path="\硬盘\cep\CQBBegain.txt" 	BeginTime="" Interval=""/>			
		</SEQ>
	</Software>
	<Instrument>
		<!--变量类型：
		1.实时测量值、状态值（数采单元反复采集该值）
		2.采集值的修正值 (修正类型1的值，可能1个实时值存在多个修正值)
		3.经过修正后的采集值	(数据处理单元处理后的值，用于显示、保存、控制、外围通讯模块)
		4.可写变量 （用于下发指令）		
		-->
		<Device DevName="MultiPosValve" ProtocolName="Modbus" ConnectPort="COM1" Interval="100" TimeOut="200" Desc="多位阀">	
			<DataType4>
				<Var Name="sMultiPosValve_Port" Cmd="2,16,1,1,2,1" Desc=""/>				
			</DataType4>
		</Device>		
		<!--CMD说明：1,0,0,0,100
		1.读取DI或AD，0是DI，1代表AD
		2.首通道
		3.末通道
		4.增益
		5.每次读取数据的个数		
		-->
		<Device DevName="ART2933ADDA" ProtocolName="ART2933PC104" ConnectPort="ADCARD" Interval="100" TimeOut="200" Desc="阿尔泰AD采集卡">	
			<DataType1>
				<Var Name="AUXAD1" DataLength="4"  Cmd="1,0,0,0,100" Desc="环境温度"/>	
				<Var Name="AUXAD2" DataLength="4"  Cmd="1,1,1,0,100" Desc="采样管温度"/>	
				<Var Name="AUXAD3"  DataLength="4"  Cmd="1,2,2,0,100" Desc="气道温度"/>	
				<Var Name="AUXAD4" DataLength="4"  Cmd="1,3,3,0,100" Desc="流量1"/>
				<Var Name="AUXAD5" DataLength="4"  Cmd="1,4,4,0,100" Desc="差压"/>	
				<Var Name="AUXAD6" DataLength="4"  Cmd="1,5,5,0,100" Desc="大气压"/>	
				<Var Name="AUXAD7"  DataLength="4"  Cmd="1,6,6,0,100" Desc="气道湿度"/>	
				<Var Name="AUXAD8" DataLength="4"  Cmd="1,7,7,0,100" Desc="ADJ2高压2"/>
				<Var Name="AUXAD9" DataLength="4"  Cmd="1,8,8,0,100" Desc="光散射"/>	
				<Var Name="AUXAD10" DataLength="4"  Cmd="1,9,9,0,100" Desc="ADJ1高压1"/>	
				<Var Name="AUXAD11"  DataLength="4"  Cmd="1,10,10,0,100" Desc="AVDD5V"/>	
				<Var Name="AUXAD12" DataLength="4"  Cmd="1,11,11,0,100" Desc="NC"/>				
				<Var Name="AUXAD13"  DataLength="4"  Cmd="1,12,12,0,100" Desc="流量2"/>	
				<Var Name="AUXAD14" DataLength="4"  Cmd="1,13,13,0,100" Desc="机箱温度"/>
				<Var Name="AUXAD15" DataLength="4"  Cmd="1,14,14,0,100" Desc="-12V"/>	
				<Var Name="AUXAD16" DataLength="4"  Cmd="1,15,15,0,100" Desc="+12v"/>
				
				<Var Name="DI0" DataLength="4"  Cmd="0,0,0,0,0" Desc="平台光耦"/>	
				<Var Name="DI1" DataLength="4"  Cmd="0,1,0,0,0" Desc="纸带光耦"/>	
			</DataType1>
			<!--CMD说明：0,0,0,1,0
				1.标识是DO还是DA输出，0代表DO,1代表DA
				2.IO口或通道号
				3.写的值
				4.预留位
				5.预留位				
				-->
			<DataType4>
				<Var Name="DO01" Cmd="0,0,1,0,0" Desc="流量电机2开"/>
				<Var Name="DO02" Cmd="0,0,0,0,0" Desc="流量电机2关"/>				
				<Var Name="DO11" Cmd="0,1,1,0,0" Desc="流量电机2开"/>
				<Var Name="DO12" Cmd="0,1,0,0,0" Desc="流量电机2关"/>					
				<Var Name="DO21" Cmd="0,2,1,0,0" Desc="智能温湿度控制开"/>
                <Var Name="DO22" Cmd="0,2,0,0,0" Desc="智能温湿度控制关"/>	
				<Var Name="DO31" Cmd="0,3,1,0,0" Desc="采样泵控制开"/>
                <Var Name="DO32" Cmd="0,3,0,0,0" Desc="采样泵控制关"/>				
				<Var Name="DO41" Cmd="0,4,1,0,0" Desc="纸带电机开"/>
                <Var Name="DO42" Cmd="0,4,0,0,0" Desc="纸带电机关"/>	
				<Var Name="DO51" Cmd="0,5,1,0,0" Desc="平台电机开"/>
                <Var Name="DO52" Cmd="0,5,0,0,0" Desc="平台电机关"/>			
				<Var Name="DO61" Cmd="0,6,1,0,0" Desc="流量电机1开"/>
                <Var Name="DO62" Cmd="0,6,0,0,0" Desc="流量电机1关"/>	
				<Var Name="DO71" Cmd="0,7,1,0,0" Desc="流量电机1开"/>
                <Var Name="DO72" Cmd="0,7,0,0,0" Desc="流量电机1关"/>				
			</DataType4>
		</Device>		
		<!--CMD说明：0,0,0,1,1000
		1.通道
		2.计数器工作模式
		3.计数初值
		4.计数器方式：加计数或减计数[0：减计数，1：加计数]	
		5.测频准确度的定时高电平脉冲时间[100——1000ms]		
		-->
	   <Device DevName="ART2543" ProtocolName="ART2543PC104" ConnectPort="CNTCARD" Interval="100" TimeOut="200" Desc="阿尔泰计数卡">	
			<DataType1>
				<Var Name="FBCNT0" DataLength="8" Cmd="0,0,0,1,1000" Desc="方波计数1"/>	
				<Var Name="FBCNT1" DataLength="8" Cmd="1,1,0,1,1000" Desc="方波计数2"/>	
			</DataType1>
		</Device>
		
	</Instrument>
</Body>
